package com.gin.pixiv.response.user

import com.fasterxml.jackson.annotation.JsonAlias
import com.fasterxml.jackson.annotation.JsonUnwrapped

/**
 * 用户信息
 */
class UserInfo {
    /**
     * 是否接受约稿
     */
    var acceptRequest: Boolean? = null

    /**
     * 头像URL
     */
    var image: String? = null

    /**
     * 头像URL(大)
     */
    var imageBig: String? = null

    /**
     * 自己是否已关注
     */
    @set: JsonAlias("isFollowed")
    var followed: Boolean? = null

    /**
     * 昵称
     */
    var name: String? = null

    /**
     * 用户id
     */
    var userId: Long? = null

    /**
     * 完整信息
     */
    @set: JsonUnwrapped
    var detail: UserDetail? = null
}
